﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="BusinessDetail.aspx.cs" Inherits="MockPrjTeam1.Pages.Forms.BusinessDetail" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style13
        {
            width: 120px;
            height: 50px;
        }
    </style>
   
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">    
    <div id="templatemo_main">
	
           <div  style="color: #000000; font-weight: bold">
        <br />
    <table class="tablesort">
      <tr>
      <td class="style12">BusinessID</td>
        <td class="style13">
        <asp:TextBox ID="txtID" runat="server" Width="80px" TabIndex="1" ReadOnly="true"></asp:TextBox>
        </td>
        </tr>
        <tr>
       <td class="style12">Business Name</td>
        <td class="style13">
        <asp:TextBox ID="txtBusinessName" runat="server" Width="300px" TabIndex="2"></asp:TextBox>
        </td>
        <td class="style12">SIC Code &nbsp;<font color="red">*</font></td>
        <td class="style13">
        <asp:TextBox ID="txtsicCode" runat="server" Width="100px" TabIndex="3"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td></td>
        <td><asp:RequiredFieldValidator ID="rfBusinessName" ControlToValidate="txtBusinessName" runat="server" Text="<br />Business Name must be required" Display="Dynamic" /><br /></td>
        <td></td>
        <td><asp:RequiredFieldValidator ID="rfSicCode" ControlToValidate="txtsicCode" runat="server" Text="<br />SIC Code must be required" Display="Dynamic" /><br />
            <asp:CustomValidator ID="cvSicCode" runat="server" ControlToValidate="txtsicCode" EnableClientScript="true" onservervalidate="CustomValidator_SicCode" Text="SIC Code must be unique" Display="Dynamic"></asp:CustomValidator>
        </td>
      </tr>
    </table>
      <br />
          <table>
       <tr>
         
         <td> <asp:Button ID="btnBack" Text="Back" 
                 runat="server" Width="65px" Height="25px" onclick="btnBack_Click"/></td>
         <td> 
             <asp:Button ID="btnSave" Text="Save" 
                 runat="server" Width="65px" Height="25px" onclick="btnSave_Click"/></td>

      </tr>
    </table>
    </div>
    </div>
</asp:Content>
